package com.example.demo.service;

import com.example.demo.model.entity.User;
import com.example.demo.model.request.user.UserLoginRequest;
import com.example.demo.model.request.user.UserRegisterRequest;
import com.example.demo.model.request.user.UserSetBlackRequest;
import com.example.demo.model.response.PageQueryUserResponse;
import com.example.demo.util.PageInfo;
import com.sun.org.apache.xpath.internal.operations.Bool;

public interface UserService {

    User selectById(Integer id);

    Boolean register(UserRegisterRequest request);

    User login(UserLoginRequest request);

    PageQueryUserResponse pageQuery(PageInfo pageInfo);

    Boolean setBlack(UserSetBlackRequest request);
}
